export const lineOption = {
  name: "",
  data: [],
  type: "line",
  symbol: "circle",
  smooth: false,
  emphasis: {
    focus: "series",
  },
};

export const chartOption = {
  tooltip: {
    trigger: "axis",
    axisPointer: {
      type: "cross",
    },
  },
  legend: {
    textStyle: {
      color: "#fff",
    },
    top: 0,
    left: '10',
  },

  axisPointer: {
    link: [
      {
        xAxisIndex: "all",
      },
    ],
  },
  grid: [
    {
      top: "60", right: 50, bottom: "35", left: 50,
    },
  ],
  xAxis:
  {
    type: "category",
    boundaryGap: false,
    axisLine: { onZero: true },
    data: [],
  },
  yAxis: {
    type: "value",
    name: "功率（kw）",
    max: null,
    axisTick: {
      show: false,
    },
    axisLine: {
      show: true, // 不显示坐标轴线

    },
    splitLine: {
      show: true,
      lineStyle: {
        color: "rgba(255,255,255,0.2)"
      }
    },
  },
  series: [
  ],
};
